<template>
	<view class="main" style="background-color: #e4ecf7;min-height: 100vh;">
		<view class="user_header_box">
			<view class="avatar_box">
				<image class="img" src="../../static/1.png" mode=""></image>
			</view>
			<view class="user_info">
				<view class="name">
					尹婷婷
				</view>
				<view class="uid">
					DI:184 8888 8888
				</view>
			</view>
		</view>
		<view class="user_amount_box">
			<view class="amount_box">
				<view class="amount">
					省钱月卡
				</view>
				<view class="now_with">
					你有124元补贴已到账
				</view>
				<span style='height: 45rpx;width: 45rpx;color: brown;'>></span>
			</view>
		</view>
		<view class="user_tab_box">
			<view class="tab_title" style='font-size: 40rpx;'>
				我的订单
			</view>
			<view class="tabs" style='float: right;margin-top: -70rpx;font-size: 40rpx;opacity: 0.5;'>
				查看更多
			<span style="font-size: 50rpx; opacity: 0.5;">></span>
			</view>
			<view class="tab_list_box">
				<view class="list_item">
					<uni-icons type="wallet" size="40"></uni-icons>
					<view class="text">待付款</view>
				</view>
				<view class="list_item">
					<!-- <image class="icon" src="" mode=""></image> -->
					<uni-icons type="upload" size="40"></uni-icons>
					<view class="text">待分享</view>
				</view>
				<view class="list_item">
					<!-- <image class="icon" src="" mode=""></image> -->
					<uni-icons type="gift" size="40"></uni-icons>
					<view class="text">待发货</view>
				</view>
				<view class="list_item">
					<!-- <image class="icon" src="../../static/che.jpg" mode=""></image> -->
					<uni-icons type="help" size="40"></uni-icons>
					<view class="text">待收货</view>
				</view>
				<view class="list_item">
					<!-- <image class="icon" src="" mode=""></image> -->
					<uni-icons type="compose" size="40"></uni-icons>
					<view class="text">评价</view>
				</view>
			</view>
		</view>


		<view class="other">
			<view class="other_addres" @click="addAdress">
				<view style='margin-top: 8rpx;font-size: 40rpx;'>完善信息</view>
				<uni-icons type="right" size="30" style='opacity: 0.5;'></uni-icons>
			</view>
			<view class="other_our">
				<view style='margin-top: 8rpx;font-size: 40rpx;'>我的收藏</view>
				<uni-icons type="right" size="30" style='opacity: 0.5;'></uni-icons>
			</view>
			<view class="other_our2">
				<view style='margin-top: 8rpx;font-size: 40rpx;'>地址管理</view>
				<uni-icons type="right" size="30" style='opacity: 0.5;'></uni-icons>
			</view>
			<view class="other_our3">
				<view style='margin-top: 8rpx;font-size: 40rpx;'>关于我们</view>
				<uni-icons type="right" size="30" style='opacity: 0.5;'></uni-icons>
			</view>
			<view class="other_our4">
				<view style='margin-top: 8rpx;font-size: 40rpx;'>设置</view>
				<uni-icons type="right" size="30" style='opacity: 0.5;'></uni-icons>
			</view>
		</view>
	</view>

	</view>

</template>


<script>
	export default {
		data() {
			return {

			}
		},
		onLoad() {

		},
		methods: {
			// addAdress(){
			// 	uni.navigateTo({
			// 		url:'../index/okoko'
			// 	})
			// }
			

		}
	}
</script>

<style lang="scss" scoped>
	.user_header_box {
		height: 340rpx;
		width: 100%;
		background-image: url('../../static/wallet.png');
		background-size: 100% 100%;
		display: flex;
		align-items: center;
		justify-content: left;

		.avatar_box {
			margin-left: 80rpx;

			.img {
				height: 120rpx;
				width: 120rpx;
			}
		}

		.user_info {
			color: #fff;
			margin-left: 20rpx;

			.name {
				font-size: 40rpx;
				color: black;
			}

			.uid {
				color: black;
			}
		}
	}

	.user_amount_box {
		width: 90%;
		margin: -90rpx auto 0 auto;

		.user_level {
			border-radius: 10rpx 10rpx 0 0;
			background-color: #e2eefe;
			padding: 10rpx 14rpx;
			display: flex;
			align-items: center;

			.icon {
				height: 60rpx;
				width: 60rpx;
			}

			.level_desc_box {
				margin-left: 20rpx;

				.title {
					font-size: 28rpx;
				}

				.desc {
					font-size: 20rpx;
					color: #808080;
				}
			}

			.right_icon {
				height: 26rpx;
				width: 16rpx;
				margin-left: auto;
				padding-right: 10rpx;
			}
		}

		.amount_box {
			display: flex;
			align-items: center;
			justify-content: space-between;
			background-color: #ffebfb;
			border-radius: 10rpx 10rpx 10rpx 10rpx;
			padding: 40rpx 32rpx;

			.amount {
				font-size: 46rpx;
			}

			.now_with {
				background-color: #fff9fc;
				color: #aa0000;
				padding: 8rpx 30rpx;
				border-radius: 50rpx;
			}


		}
	}

	.user_tab_box {
		background-color: #fff;
		width: 90%;
		margin: 20rpx auto;
		border-radius: 10rpx;
		padding: 10rpx 20rpx;
		padding-bottom: 20rpx;
		box-sizing: border-box;

		.tab_title {
			font-size: 30rpx;
		}

		.tab_list_box {
			margin-top: 20rpx;
			display: flex;
			flex-wrap: wrap;

			.list_item {
				width: 20%;
				text-align: center;
				margin: 16rpx 0;

				.uni-icons {
					height: 80rpx;
					width: 80rpx;
				}

				.text {
					color: #666666;
					margin-top: -10rpx;
					font-size: 40rpx;
				}
			}
		}
	}


	

	.other {
		margin: 10rpx 40rpx;
		height: 490rpx;
		width: 90%;
		border-radius: 20rpx;
		background-color: #fff;

		.other_addres {
			height: 60rpx;
			padding: 20rpx 20rpx;
			border-bottom: 1rpx dashed gainsboro;
			display: flex;
			justify-content: space-between;
		}

		.other_our {
			height: 60rpx;
			padding: 20rpx 20rpx;
			display: flex;
			justify-content: space-between;
			border-bottom: 1rpx dashed gainsboro;
		}
		.other_our2 {
			height: 60rpx;
			padding: 20rpx 20rpx;
			display: flex;
			justify-content: space-between;
			border-bottom: 1rpx dashed gainsboro;
		
			
		}
		.other_our3 {
			height: 60rpx;
			padding: 20rpx 20rpx;
			display: flex;
			justify-content: space-between;
			border-bottom: 1rpx dashed gainsboro;
		}
		.other_our4 {
			height: 60rpx;
			padding: 20rpx 20rpx;
			display: flex;
			justify-content: space-between;
			border-bottom: 1rpx dashed gainsboro;
			
		}
	}
</style>